package com.jonluo.common.utils;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 *
 * 环境变量
 * @author com.jonluo
 * Date 2017/9/15
 */
@Component
public class EnvVariable {
    @Value("${base.url}")
    private String baseUrl;
    @Value("${super.admin.id}")
    private String superAdminId;

    public String getBaseUrl() {
        return baseUrl;
    }

    public void setBaseUrl(String baseUrl) {
        this.baseUrl = baseUrl;
    }

    public String getSuperAdminId() {
        return superAdminId;
    }

    public void setSuperAdminId(String superAdminId) {
        this.superAdminId = superAdminId;
    }
}
